<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>确认下单</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<!--标准mui.css-->
		<link rel="stylesheet" href="../../css/mui.min.css">
		<!--App自定义的css-->
		<link rel="stylesheet" type="text/css" href="../../css/app.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">确认下单</h1>

		</header>
		<div class="mui-content">

			<div class="mui-jf">
				<p>100元</p>
				<p>请您在<i class="clf6"></i>时间内尽快完成支付</p>
			</div>
			<div class="mui-jfinfo">费用明细</div>
			<ul class="mui-table-view cl6">
				<li class="mui-table-view-cell">
					<a class="fl">仓库租赁费用</a> <span class="fr">总计价:380元</span></li>
				<li class="mui-table-view-cell">
					<a class="fl">单价</a> <span class="fr">20*6h=120元</span></li>
				<li class="mui-table-view-cell">
					<a class="fl">租用面积</a> <span class="fr">40*6.5平方米=260</span></li>
				<li class="mui-table-view-cell">
					<a class="fl">租期</a> <span class="fr">30天</span></li>
				<li class="mui-table-view-cell">
					<a class="fl">快递费用</a> <span class="fr">120元</span></li>
				<li class="mui-table-view-cell">
					<a class="fl">上门提货费用</a> <span class="fr">40元</span></li>
				<li class="mui-table-view-cell">
					<a class="fl">上门取货费用</a> <span class="fr">80元</span></li>
				<li class="mui-table-view-cell">
					<a class="fl">折扣</a> <span class="fr">80%</span></li>
				<li class="mui-table-view-cell">
					<a class="fl">保险费</a> <span class="fr">0</span></li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right">包装费用<span class="mui-pull-right mr20"><i class="mui-pull-right "></i>请选择包装箱</span></a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right">附加费<span class="mui-pull-right mr20"><i class="mui-pull-right "></i>请选择附加费</span></a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right">优惠券<span class="mui-pull-right mr20"><i class="mui-pull-right "></i>请选择优惠券</span></a>
				</li>
			</ul>
			<div class="mui-jfinfo">选择支付方式</div>
			<form class="mui-input-group">
				<div class="mui-input-row mui-checkbox mui-radio h50">
					<label class="texl"><img class="mui-media-object w3h3 mui-pull-left" src="../../images/bizimg/yezf.png"><em>余额支付</em></label>
					<input name="radio1" class="t10" type="radio" checked>
				</div>
				<div class="mui-input-row mui-checkbox mui-radio h50">
					<label class="texl"><img class="mui-media-object w3h3 mui-pull-left" src="../../images/bizimg/apple.png"><em>Apple Pay</em></label>
					<input name="radio1" class="t10" type="radio" checked>
				</div>
				<div class="mui-input-row mui-checkbox mui-radio h50">
					<label class="texl"><img class="mui-media-object mui-pull-left" src="../../images/bizimg/wxzf.png"><em>微信支付</em></label>
					<input name="radio1" class="t10" type="radio" checked>
				</div>

				<div class="mui-input-row mui-checkbox mui-radio h50">
					<label class="texl"><img class="mui-media-object mui-pull-left" src="../../images/bizimg/zfbzf.png"><em>支付宝支付</em></label>
					<input name="radio1" class="t10" type="radio" checked>
				</div>

				<div class="mui-input-row mui-checkbox mui-radio h50">
					<label class="texl"><img class="mui-media-object w3h3 mui-pull-left" src="../../images/bizimg/ylzf.png"><em>银联支付</em></label>
					<input name="radio1" class="t10" type="radio" checked>
				</div>
			</form>
			<button type="button" class=" mui-btn-sz mb20">确认支付<i>500</i>元</button>
		</div>
	</body>
	<script type="text/javascript" src="../../js/jquery-3.2.1.min.js"></script>
	<script>
		$(function(){
		    var  positive = 30;
		    var decimal = 0;
		    var num = positive + "." + decimal;
            $(".clf6").html(num);
            setInterval(function(){
                if(decimal != 0){
                    decimal = decimal - 1;
                    num = toDouble(positive) + "." + toDouble(decimal);
                    $(".clf6").html(num);
				}else if(decimal == 0){
                    decimal = 59;
                    positive = positive - 1;
                    num = toDouble(positive) + "." + toDouble(decimal);
                    $(".clf6").html(num);
				}else if(positive == 0 || decimal == 0){
					num = 0;
					alert("倒计时截止！")
				}
                $(".clf6").html(num);
			},1000);

            function toDouble(num){    //把一位数字前面加0
				if(num<10){
				    return "0"+num;
				}else if(num > 9){
				    return num;
				}
			}
		})
	</script>
</html>